package com.finger.forest.service;

import android.annotation.SuppressLint;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

import androidx.annotation.Nullable;


/**
 * 定位的service
 */
@SuppressLint("Registered")
public class LocationService extends Service  {

    private Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = this;
        startLocation();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();

    }

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        return super.onStartCommand(intent, flags, startId);
    }

    /**
     * 开启定位
     */
    private void startLocation() {

    }



}
